import data.Data;

import java.sql.SQLException;
import java.util.List;

public class main {
    public static void main(String[] args) {
        Data data = new Data();
        List<Data> datas = null;
        try {
           datas = data.selectUserAll();
        } catch (SQLException throwables) {
            throwables.printStackTrace();
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        }
        Data d = null;
        try {
            d = data.selectById(1);
        } catch (SQLException throwables) {
            throwables.printStackTrace();
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        }
        System.out.println(datas);
        System.out.println(d);
    }
}
